<template>
  <a href="javascript:;">
    <slot v-bind:link="link">{{ link.name }}</slot>
  </a>
</template>

<script>
export default {
  data() {
    return {
      link: {
        name: '百度',
        enName: 'Baidu',
      },
    };
  },
}
</script>

<style>

</style>